package com.fulihui.weixinsdk.http;


import lombok.ToString;

import java.io.File;
import java.util.Map;

/**
 * Created by Willard on 2015/9/16.
 */
@ToString
public class HttpRequest {
    private static final long serialVersionUID = -2897721474154191289L;
    /**
     * 请求地址
     */
    private String url;
    /**
     * 请求参数
     */
    private Map<String, String> params;
    /**
     * 请求数据
     */
    private String data;
    /**
     * 证书文件路径
     */
    private String certFile;
    /**
     * 证书密码
     */
    private String certPwd;
    /**
     * 请求后缀
     */
    private String urlFoot;
    /**
     * 需要发送的文件
     */
    private File file;

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map<String, String> getParams() {
        return params;
    }

    public void setParams(Map<String, String> params) {
        this.params = params;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getCertFile() {
        return certFile;
    }

    public void setCertFile(String certFile) {
        this.certFile = certFile;
    }

    public String getCertPwd() {
        return certPwd;
    }

    public void setCertPwd(String certPwd) {
        this.certPwd = certPwd;
    }

    public String getUrlFoot() {
        return urlFoot;
    }

    public void setUrlFoot(String urlFoot) {
        this.urlFoot = urlFoot;
    }
}
